package com.secsys.util;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionInvocation;

public class SystemUtils {
     private static String RemotAddr;
	public static String getRemoteHost(HttpServletRequest request){
    	     RemotAddr= request.getRemoteHost();   //获取访问的IP
    	       return RemotAddr;
    }
}
